//
//  SEGOrderDetailCell.h
//  Uhomebk
//
//  Created by mac on 2017/7/7.
//  Copyright © 2017年 com.segi. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "ControlTemplateViewController.h"
#import "SEGTrackPhotoView.h"
@interface SEGOrderDetailCell : UITableViewCell
{
    ControlTemplateViewController *templateVC;//生成所有控件的VC
}

//-(void)paddingDataWith:(id)data;

@property (weak, nonatomic) IBOutlet UIView *detailBgView;
@property (unsafe_unretained, nonatomic) IBOutlet UIView *titleBgView;

@property(nonatomic,strong)UILabel *titleLabel;

@property(nonatomic,strong)UILabel *contentLabel;

@property(nonatomic,strong)UILabel *stateLabel;

@property(nonatomic,strong)UILabel *superviseLabel;

@property(nonatomic,strong)CustomButtonView *takePhone;

@property(nonatomic,strong)UIImageView *arrow;

@property (nonatomic, strong) SEGTrackPhotoView* picView;


@property(nonatomic,strong)NSIndexPath *indexPath;

@property(nonatomic,strong)NSArray *dataArray;

@property(nonatomic,strong)UIViewController *controller;

@property(nonatomic,assign)BOOL hasAddr;

@property(nonatomic,assign)BOOL isFold;

@property (nonatomic, strong) NSString *orderId;
@property (nonatomic, assign) BOOL foldStatus; // 当前折叠状态 yes:展开 no：折叠
@property (nonatomic, copy) void (^foldButtonTapBlock)(BOOL isSelect);

-(void)paddingDataWithDataArray:(id )data;
@end
